package com.suse.lhw.domin;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @ProjectName: health_manage_system
 * @Package: com.suse.lhw.domin
 * @ClassName: PIfo
 * @Description: java类作用描述
 * @Author: 李鸿炜
 * @CreateDate: 2020/5/21 14:08
 * @UpdateUser: 更新者
 * @UpdateDate: 2020/5/21 14:08
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
@Data
public class PIfo {
    private Integer id;

    private String userId;

    /**
     * 0表示女，1表示男
     */
    private String sex;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date birthday;

    /**
     * 身高
     */
    private Double nickname;

    private String mail;

    private Long phonenum;

    private String spare1;

    private String spare2;

    private String spare3;

    private String spare4;
}